package com.qf.spring2202.springfactory.impl;

import com.qf.spring2202.customfactory.dao.UserDao;
import com.qf.spring2202.customfactory.entity.User;
import com.qf.spring2202.customfactory.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao;

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public User getUser(Integer id) {
        return userDao.getUser(id);
    }
}
